package com.lrkj.payfee.domain;

import com.lrkj.common.annotation.Excel;
import com.lrkj.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

/**
 * 催缴管理对象 tb_require_pay
 *
 * @author yajun_ren
 * @date 2022-03-24
 */
@Data
public class RequirePay extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 催缴人 */
    @Excel(name = "催缴人")
    private String requireUser;

    /** 催缴时间 */
    @Excel(name = "催缴时间")
    private String requireTime;

    /** 催缴方式 */
    @Excel(name = "催缴方式")
    private String requireType;

    /** 催缴内容 */
    @Excel(name = "催缴内容")
    private String requireContent;

    private List<RequireRecord> requireRecordList;

    /**成功数*/
    private Integer win;

    /**失败数*/
    private Integer lose;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("requireUser", getRequireUser())
            .append("requireTime", getRequireTime())
            .append("requireType", getRequireType())
            .append("requireContent", getRequireContent())
            .toString();
    }
}
